<?php

namespace app\api\controller;

use app\common\controller\Api;
use think\Db;

/**
 * 计划任务url
 * @internal
 */
class Crontab extends api {

    protected $noNeedLogin = ['*'];

    /**
     * 定时删除未充值订单
     */
    public function delCreatedRecharge() {
       Db::name('recharge')->where('status','create')->delete();
    }

}
